"""
setup.py -- setup script for use of packages.
"""
from setuptools import setup, find_packages

__version__ = '1.0.0'

with open("README.md", "r") as fh:
    long_description = fh.read()

with open("requirements.txt", 'r') as fh:
    requirements = fh.read().splitlines()

# create entry points
# see http://astropy.readthedocs.org/en/latest/development/scripts.html
entry_points = {
    'console_scripts' : [
        'sdhdf_quick_list = sdhdf.quick_list_sdhdf:cmd_tool',
        'sdhdf_read_header = sdhdf.read_sdhdf_header:cmd_tool',
        'sdhdf_show_definition = sdhdf.show_sdhdf_definition:cmd_tool',
        'sdhdf_verify = sdhdf.verify_sdhdf:cmd_tool',
        'sdhdf_plot = sdhdf.plot_sdhdf:cmd_tool',
        'sdhdf_get_dataset = sdhdf.get_dataset_ex:cmd_tool',
        'sdhdf_info = sdhdf.access_sdhdf_ex:cmd_tool'
     ]
}

install_requires = [

]


setup(name='sdhdf',
      version=__version__,
      description='Python utilities for Single Dish HDF (SDHDF)',
      long_description=long_description,
      long_description_content_type='text/markdown',
      platform=['*nix'],
      license='BSD',
      install_requires=install_requires,
      url='https://bitbucket.csiro.au/projects/CPDA/repos/sdhdf_tools',
      author='Lawrence Toomey',
      author_email='lawrence.toomey@csiro.au',
      entry_points=entry_points,
      packages=find_packages(),
      zip_safe=False,
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: Console',
          'Natural Language :: English',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python :: 3.7',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Topic :: Scientific/Engineering :: Astronomy',
      ],
      setup_requires=['pytest-runner'],
      tests_require=['pytest']
)